package com.yiyahui.project.erp.mapper;

import java.util.List;
import com.yiyahui.project.erp.domain.YiyaClinic;

/**
 * 门诊Mapper接口
 * 
 * @author ruoyi
 * @date 2020-05-03
 */
public interface YiyaClinicMapper 
{
    /**
     * 查询门诊
     * 
     * @param id 门诊ID
     * @return 门诊
     */
    public YiyaClinic selectYiyaClinicById(Long id);

    /**
     * 查询门诊列表
     * 
     * @param yiyaClinic 门诊
     * @return 门诊集合
     */
    public List<YiyaClinic> selectYiyaClinicList(YiyaClinic yiyaClinic);

    /**
     * 新增门诊
     * 
     * @param yiyaClinic 门诊
     * @return 结果
     */
    public int insertYiyaClinic(YiyaClinic yiyaClinic);

    /**
     * 修改门诊
     * 
     * @param yiyaClinic 门诊
     * @return 结果
     */
    public int updateYiyaClinic(YiyaClinic yiyaClinic);

    /**
     * 删除门诊
     * 
     * @param id 门诊ID
     * @return 结果
     */
    public int deleteYiyaClinicById(Long id);

    /**
     * 批量删除门诊
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteYiyaClinicByIds(Long[] ids);
}
